package cn.dada.dadarecipes.mall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotNull;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ProductSelectParam {
    @ApiModelProperty(value = "商家id")
    @NotNull(message = "商家id不能为空")
    Long businessId;
    @ApiModelProperty(value = "商品id")
    Long id;
    @ApiModelProperty(value = "店铺id")
    Long shopId;
    @ApiModelProperty(value = "商品名")
    String productName;
}
